'''
Created on Mar 8, 2010

@author: sternron
'''
from cliques.closest.closestCliqueSearch import ClosestCliqueSearch

class BreadthFirstSearch(ClosestCliqueSearch):
    def __init__(self):
        ClosestCliqueSearch.__init__(self)
        
    def calculate_node_value(self,node):
        ''' Return the cost function for this node '''
        return self.g[node]
        